﻿using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using TaiLieu;

public partial class Ajax : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        switch (QueryHelper.Get_Value(Request,1))
        {
            case "trac-nghiem":
                LoadControlCenter("localhost/trac-nghiem/hoa-hoc/Questions.ascx");
                break;
        }
    }

    protected void LoadControlCenter(string path)
    {
        this.pnLoadControl.Controls.Clear();
        this.pnLoadControl.Controls.Add(LoadControl(path));
    }
}
